package cn.crm.spring.service;

import cn.crm.spring.pojo.Customer;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


public interface CustomerService {
    /**
     * 分页显示方法
     */
    public Page<Customer> findCustomerByCustName(String name, Pageable pageable);
    /**
     * 根据id查询
     */
    public Customer getId(Integer custId);
    public List<Customer>finAll();
}
